package com.pmenergy.view;

import java.util.List;

import javax.annotation.PostConstruct;
import javax.ejb.EJB;
import javax.faces.bean.ApplicationScoped;
import javax.faces.bean.ManagedBean;
import com.pmenergy.control.ManoObraHome;
import com.pmenergy.model.ManoObra;
 



@ManagedBean
@ApplicationScoped

public class ManoObraServiceBean {

	@EJB ManoObraHome manoObraHome; 
    private List<ManoObra> manoObraList;
    
    @PostConstruct
    public void init() {
    this.manoObraList=manoObraHome.findAllManosObra();
    }
     
    public List<ManoObra> getManoObraList() {
        return manoObraList;
    }
}


